import { Component, OnInit, Output } from '@angular/core'
import { Subject } from 'rxjs'

@Component({
  selector: 'app-rest-delete',
  templateUrl: './detail-rest-delete.component.html',
  styleUrls: ['./detail-rest-delete.component.less'],
})
export class DetailRestDeleteComponent implements OnInit {

  @Output() delete = new Subject()

  constructor() {}

  ngOnInit() {}

  handleDelete(): void {
    this.delete.next()
  }
}
